<!DOCTYPE html>
<html>
<head>
	<title>增加自定义菜单</title>
	<link rel="stylesheet" type="text/css" href="/Template/admin/default/css/css.css">
</head>
<body>
<div class="content">
	<div class="curr-position">当前位置：公众号设置 &gt; 增加自定义菜单</div>
	<div class="page-top">
		<span class="fl"><a href="{{:U('admin/wechat/config')}}">公众号设置</a> | <a href="{{:U('admin/wechat/wechatbtn')}}">返回列表</a></span>
		<span class="fr"><a href="javascript:location.reload();">刷新</a></span>
	</div>
	<form method="post" action="">
	<table class="data-tab">
		<thead>
			<tr>
				<th class="item">项目</th>
				<th class="data">内容</th>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td class="item">名称</td>
				<td class="data"><input class="smallIpt" type="text" name="name" value=""> 自定义菜单一级菜单最多4个汉字，二级7个汉字</td>				
			</tr>
			<tr>
				<td class="item">上级</td>
				<td class="data">
					<select name="pid">
						<option value="0">顶级</option>
						<volist name="btntop" id="vo">
							<option value="{{$vo.id}}">{{$vo.name}}</option>	
						</volist>
					</select> 自定义菜单一级最多三个菜单，二级最多五个菜单
				</td>				
			</tr>
			<tr>
				<td class="item">类型</td>
				<td class="data">
					<select name="type">
						<option value="0">CLICK事件</option>
						<option value="1">VIEW事件</option>
					</select> 目前支持点击和URL两种方式，顶级菜单含有子菜单不受此影响
				</td>				
			</tr>
			<tr>
				<td class="item">CLICK事件</td>
				<td class="data"><input class="mediumIpt" type="text" name="click" value="{{$wechat.urltoken}}"> 类型选择click事件时此处生效</td>				
			</tr>
			<tr>
				<td class="item">VIEW路径</td>
				<td class="data"><input class="mediumIpt" type="text" name="url" value="{{$wechat.encodestr}}"> 类型选择view事件时此处生效</td>				
			</tr>
			<tr>
				<td class="item">状态</td>
				<td class="data"><input type="radio" name="status" value="1" checked="checked"> 可用 <input type="radio" name="status" value="0"> 不可用</td>				
			</tr>
			<tr>
				<td class="item">&nbsp;</td>
				<td class="data"><input type="submit" class="btn" value="提 交"></td>				
			</tr>
		</tbody>
	</table>
	</form>
</div>

</body>
</html>